﻿namespace NEvoWeb.Modules.NB_Store
{
    using System;

    public class StatsController
    {
        public void ProcessSearchWordHits(int PortalID)
        {
            DataProvider.Instance().ProcessSearchWords(PortalID);
        }

        public void PurgeSearchWordHits(int PortalID, DateTime PurgeBeforeDate)
        {
            DataProvider.Instance().PurgeSearchWord(PortalID, PurgeBeforeDate);
        }

        public void UpdateSearchWordHits(int PortalID, string SearchWord, int WordPosition)
        {
            DataProvider.Instance().UpdateSearchWord(PortalID, SearchWord, WordPosition);
        }
    }
}

